<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/7/17
 * Time: 10:35
 * Project name: PHPTEST
 * File name: 1.php
 * @copyright Copyright (c) 2016 ZRX Software LLC
 * @license https://github.com/zhangrxiang
 * @since 1.0.0
 */

if ( date_default_timezone_get() !== 'PRC' ) {
	date_default_timezone_set( 'PRC' );
}
//1500258911
//1500258919
echo getlastmod() . PHP_EOL;
echo getlastmod() / 3600 / 24 . PHP_EOL;
echo date( "Y-m-d H:i:s", getlastmod() ).PHP_EOL;

echo $decode = base64_encode(__FILE__).PHP_EOL;
echo base64_decode($decode).PHP_EOL;

echo $decode = convert_uuencode(__FILE__).PHP_EOL;
echo convert_uudecode($decode).PHP_EOL;

echo uniqid().PHP_EOL;

echo $decode = quoted_printable_encode("\n\r\t");
echo quoted_printable_decode($decode);

echo get_current_user().PHP_EOL;

//set_magic_quotes_runtime(true);
//echo get_magic_quotes_runtime().PHP_EOL;

var_dump(get_magic_quotes_gpc());